#include <REGX52.H>
#include "Key.h"
#include "timer.h"
#include "Pin.h"


void main(){
	Timer0_Init();
	Motor = 0;
	while(1);
}

void Timer0_Rountine() interrupt 1{
	TL0 = 0xCD;		//设置定时初值
	TH0 = 0xF8;		//设置定时初值
	KeyCheck();
}
